package  
{
	/**
	 * ...
	 * @author Paul Forest
	 */
	public class Util 
	{
		
		public static function shuffleVector(input:Vector.<Person>):Vector.<Person> {
			var output:Vector.<Person> = input.concat();
			
			var len:int = output.length;
			for (var i:int = 0 ; i < len * 2; i++) {
				var rand:int = Math.floor(Math.random() * len);
				var p:Person = output[rand];
				output.splice(rand, 1);
				output.push(p);
			}
			
			return output;
		}
		
	}

}